package com.bmldyq.t0602;

/**
 * 私有内部类，只能由外部类使用
 */
public class PriOuter {

    private static int c = 1;
    private class In{
        private int age = 12;
        void print(){
            System.out.println(age);
            System.out.println(c);
        }

    }

    public void p(){
        In in = new In();
        in.print();
    }
}
